package com.hdj.chapter13;

/**
 * @author hdj
 * @description
 * @date 2017/12/14.
 */
public class Multiply extends AbstractCalculator implements ICaclculator {
    @Override
    public int cacl(String exp) {
        int arrayInt[] = split(exp,"\\*");
        return arrayInt[0]*arrayInt[1];
    }
}
